package com.yiwei.hdb.model;

import java.util.List;

/**
 * Created by xsooy-pc on 2017/5/5.
 */

public class BannerModel extends ResponseModel{

    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * name : 185家互联网金融
         * img : http://img3.dob500.cn/2017/05/03/201705031504585261.jpg
         * data : http://toutiao.com/i6287826393308856834/
         * status : 1
         * open_url_type : 0
         */

        private String title;
        private String image;
        private String url;
        private int status;
        private int open_url_type; // 0: 使用内置浏览器打开url;  1: 使用外置浏览器打开

        public String getName() {
            return title;
        }

        public void setName(String name) {
            this.title = name;
        }

        public String getImg() {
            return image;
        }

        public void setImg(String img) {
            this.image = img;
        }

        public String getData() {
            return url;
        }

        public void setData(String data) {
            this.url = data;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getOpen_url_type() {
            return open_url_type;
        }

        public void setOpen_url_type(int open_url_type) {
            this.open_url_type = open_url_type;
        }
    }
}
